package com.bm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName ejyy_repair
 */
@TableName(value ="ejyy_repair")
@Data
public class EjyyRepair implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long wechatMpUserId;

    /**
     * 
     */
    private Long propertyCompanyUserId;

    /**
     * 
     */
    private Long communityId;

    /**
     * 0 是公共区域
     */
    private Long buildingId;

    /**
     * 
     */
    private int repairType;

    /**
     * 
     */
    private String description;

    /**
     * 最多4张图片
     */
    private String repairImgs;

    /**
     * 
     */
    private Boolean disposeSubscribed;

    /**
     * 
     */
    private Boolean confrimSubscribed;

    /**
     * 
     */
    private Boolean finishSubscribed;

    /**
     * 
     */
    private Long allotUserId;

    /**
     * 
     */
    private Long allotedAt;

    /**
     * 
     */
    private Long disposeUserId;

    /**
     * 
     */
    private String disposeReply;

    /**
     * 
     */
    private String disposeContent;

    /**
     * 
     */
    private String disposeImgs;

    /**
     * 
     */
    private Long disposedAt;

    /**
     * 
     */
    private Long finishedAt;

    /**
     * 
     */
    private Long mergeId;

    /**
     * 1业主提交; 2 客服调拨; 3维修上门; 4 维修完成; 5评价
     */
    private int step;

    /**
     * 1 - 5
     */
    private Boolean rate;

    /**
     * 
     */
    private String rateContent;

    /**
     * 
     */
    private Long ratedAt;

    /**
     * 
     */
    private Long createdAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", wechatMpUserId=").append(wechatMpUserId);
        sb.append(", propertyCompanyUserId=").append(propertyCompanyUserId);
        sb.append(", communityId=").append(communityId);
        sb.append(", buildingId=").append(buildingId);
        sb.append(", repairType=").append(repairType);
        sb.append(", description=").append(description);
        sb.append(", repairImgs=").append(repairImgs);
        sb.append(", disposeSubscribed=").append(disposeSubscribed);
        sb.append(", confrimSubscribed=").append(confrimSubscribed);
        sb.append(", finishSubscribed=").append(finishSubscribed);
        sb.append(", allotUserId=").append(allotUserId);
        sb.append(", allotedAt=").append(allotedAt);
        sb.append(", disposeUserId=").append(disposeUserId);
        sb.append(", disposeReply=").append(disposeReply);
        sb.append(", disposeContent=").append(disposeContent);
        sb.append(", disposeImgs=").append(disposeImgs);
        sb.append(", disposedAt=").append(disposedAt);
        sb.append(", finishedAt=").append(finishedAt);
        sb.append(", mergeId=").append(mergeId);
        sb.append(", step=").append(step);
        sb.append(", rate=").append(rate);
        sb.append(", rateContent=").append(rateContent);
        sb.append(", ratedAt=").append(ratedAt);
        sb.append(", createdAt=").append(createdAt);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}